package com.ruoyi.caiwu.domain;/**
 * @author :
 * @date : 2025-03-06 11:51
 * @description :
 **/

import com.ruoyi.common.core.web.domain.BaseEntity;


/**
 * @description: TODO 科目余额表
 * @author: 杜晓南
 * @date: 2025/3/6 11:51
 * @version: 1.0
 */
public class SubjectBalance  extends BaseEntity {

    //主键
    private Integer id;
    //会计年度
    private Integer accountingYear;
    //会计期间
    private Integer accountingPeriod;
    //科目编码
    private String subjectCode;
    //科目名称
    private String subjectName;
    //期初借方余额
    private Double initialDebit;
    //期初贷方余额
    private Double initialCredit;
    //本期借方发生额
    private Double currentDebit;
    //本期贷方发生额
    private Double currentCredit;
    //本年累计借方发生额
    private Double yearToDateDebit;
    //本年累计贷方发生额
    private Double yearToDateCredit;
    //期末借方余额
    private Double endingDebit;
    //期末贷方余额
    private Double endingCredit;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAccountingYear() {
        return accountingYear;
    }

    public void setAccountingYear(Integer accountingYear) {
        this.accountingYear = accountingYear;
    }

    public Integer getAccountingPeriod() {
        return accountingPeriod;
    }

    public void setAccountingPeriod(Integer accountingPeriod) {
        this.accountingPeriod = accountingPeriod;
    }

    public String getSubjectCode() {
        return subjectCode;
    }

    public void setSubjectCode(String subjectCode) {
        this.subjectCode = subjectCode;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public Double getInitialDebit() {
        return initialDebit;
    }

    public void setInitialDebit(Double initialDebit) {
        this.initialDebit = initialDebit;
    }

    public Double getInitialCredit() {
        return initialCredit;
    }

    public void setInitialCredit(Double initialCredit) {
        this.initialCredit = initialCredit;
    }

    public Double getCurrentDebit() {
        return currentDebit;
    }

    public void setCurrentDebit(Double currentDebit) {
        this.currentDebit = currentDebit;
    }

    public Double getCurrentCredit() {
        return currentCredit;
    }

    public void setCurrentCredit(Double currentCredit) {
        this.currentCredit = currentCredit;
    }

    public Double getYearToDateDebit() {
        return yearToDateDebit;
    }

    public void setYearToDateDebit(Double yearToDateDebit) {
        this.yearToDateDebit = yearToDateDebit;
    }

    public Double getYearToDateCredit() {
        return yearToDateCredit;
    }

    public void setYearToDateCredit(Double yearToDateCredit) {
        this.yearToDateCredit = yearToDateCredit;
    }

    public Double getEndingDebit() {
        return endingDebit;
    }

    public void setEndingDebit(Double endingDebit) {
        this.endingDebit = endingDebit;
    }

    public Double getEndingCredit() {
        return endingCredit;
    }

    public void setEndingCredit(Double endingCredit) {
        this.endingCredit = endingCredit;
    }

    @Override
    public String toString() {
        return "SubjectBalance{" +
                "id=" + id +
                ", accountingYear=" + accountingYear +
                ", accountingPeriod=" + accountingPeriod +
                ", subjectCode='" + subjectCode + '\'' +
                ", subjectName='" + subjectName + '\'' +
                ", initialDebit=" + initialDebit +
                ", initialCredit=" + initialCredit +
                ", currentDebit=" + currentDebit +
                ", currentCredit=" + currentCredit +
                ", yearToDateDebit=" + yearToDateDebit +
                ", yearToDateCredit=" + yearToDateCredit +
                ", endingDebit=" + endingDebit +
                ", endingCredit=" + endingCredit +
                '}';
    }
}
